package com.yvon.boot.log.monitor;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author : Yvon
 * @since : 2022-05-13
 */
public class PointUtil {
    private static final Logger log = LoggerFactory.getLogger(PointUtil.class);
    private static final String MSG_PATTERN = "{}|{}|{}";

    private PointUtil() {
        throw new IllegalStateException("Utility class");
    }

    public static void info(String id, String type, String message) {
        log.info("{}|{}|{}", id, type, message);
    }

    public static void debug(String id, String type, String message) {
        log.debug("{}|{}|{}", id, type, message);
    }
}
